package com.pxmeta.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pxmeta.order.entity.UserOrderRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserOrderRecordMapper extends BaseMapper<UserOrderRecord> {

    /**查询今日首单一币下单数
     * @param userId
     * @return
     */
    Long getCount(@Param("userId") Long userId);

    List<UserOrderRecord> getOvertimeOrders();
}
